#ifndef _IMG_PROC_H_
#define _IMG_PROC_H_

#include "Common.h"
#include "LinkedList.h"

/*
 * image processing functions
 */

void erodeImage(IplImage* image);
void findCentre(IplImage* image, coordinate_t &point, areaCoordinate_t &interestedArea);
void input(unsigned char *, unsigned char *, int, int, int);
void erodeImage(IplImage*);
void crossline(BYTE*, int, int, int);
void square(BYTE*, int, int, int, int, int);
void circle(BYTE*, int, int, int, int, int, int, int);
void findcircle(BYTE*, BYTE*, int, int, int, int, int, int, int);
void cross(BYTE*, int, int, int, int, int, int, int);
void findmass(BYTE*, BYTE*, int *);
void rgb2hsi(BYTE *, WORD *, BYTE *, BYTE *);

#endif
